Skip to content

feat: add MISSING node AST helpers#188

Merged
zharinov merged 1 commit intomasterfrom
feat/missing-node-ast
Dec 31, 2025
Merged

feat: add MISSING node AST helpers#188
zharinov merged 1 commit intomasterfrom
feat/missing-node-ast

Conversation

@zharinov
Copy link
Copy Markdown
Member

Summary

  • Add is_missing() method to check if a NamedNode is (MISSING ...)
  • Add missing_constraint() to extract the type constraint from MISSING nodes
    • (MISSING identifier)Some("identifier")
    • (MISSING ";")Some(";")
    • (MISSING)None

Enables future grammar verification features.

Test plan

  • cargo check -p plotnik-lib passes

@zharinov zharinov enabled auto-merge (squash) December 31, 2025 12:12
@zharinov zharinov merged commit 0ec1fb0 into master Dec 31, 2025
4 checks passed
@zharinov zharinov deleted the feat/missing-node-ast branch December 31, 2025 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant